I have a few UI Tests in my app, and some of them access the tab bar, for instance: XCUIApplication().tabBars.element.buttons.element(boundBy: tabBarButtonCount - 1).tap()
In Xcode 16 though, when performing tests on iPad, this fails, likely due to the new tab bar. How am I supposed to perform this kind of action in iPadOS 18?
Post
Replies
Boosts
Views
Activity
I have a video player application and while playing an HLS video on AVPlayer, I noticed that the muxed VTT subtitles are not showing up at the correct time.
For example, using AVPlayerItemLegibleOutput I can see that a text that was supposed to show at 24:37.107 is actually displaying at 24:36.406.
What I would like to know is if there's anything that I can do to identify why that is happening and what would cause AVPlayer to lose sync for the embedded captions.
I have an app that supports Offline HLS playback. The download was implemented based on Apple's guide at https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/MediaPlaybackGuide/Contents/Resources/en.lproj/HTTPLiveStreaming/HTTPLiveStreaming.htmlThis feature is working fine, except on iOS 13 beta. When trying to download an HLS playlist using iOS 13, the download fails almost immediately. The error is:Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedDescription=The operation could not be completed, _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <AFDCA3CC-FA49-488B-AB16-C74425345EE4>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "BackgroundAVAssetDownloadTask <AFDCA3CC-FA49-488B-AB16-C74425345EE4>.<1>"), NSLocalizedFailureReason=An unknown error occurred (-16654)}Does anyone know what could be the cause for this error? Thanks!